Don't leak the frame pixbuf.
authorMatthias Clasen <mclasen@redhat.com>
Wed, 22 Sep 2004 04:55:19 +0000 (04:55 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 22 Sep 2004 04:55:19 +0000 (04:55 +0000)
Wed Sep 22 00:52:44 2004  Matthias Clasen  <mclasen@redhat.com>

* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
pixbuf.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
demos/gtk-demo/pixbufs.c

index a2c9ae574c374c1e5590da3a1f73eeb876621d9a..eb94b6a3979580e4b4027fb1757612bc215c74b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Sep 22 00:54:34 2004  Matthias Clasen  <mclasen@redhat.com>
+
+       * demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
+       pixbuf.
+
 Tue Sep 21 16:55:38 2004  Manish Singh  <yosh@gimp.org>
 
        * tests/testtreemodel.c: #include <config.h> for HAVE_MALLINFO define,
index a2c9ae574c374c1e5590da3a1f73eeb876621d9a..eb94b6a3979580e4b4027fb1757612bc215c74b3 100644 (file)
@@ -1,3 +1,8 @@
+Wed Sep 22 00:54:34 2004  Matthias Clasen  <mclasen@redhat.com>
+
+       * demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
+       pixbuf.
+
 Tue Sep 21 16:55:38 2004  Manish Singh  <yosh@gimp.org>
 
        * tests/testtreemodel.c: #include <config.h> for HAVE_MALLINFO define,
index a2c9ae574c374c1e5590da3a1f73eeb876621d9a..eb94b6a3979580e4b4027fb1757612bc215c74b3 100644 (file)
@@ -1,3 +1,8 @@
+Wed Sep 22 00:54:34 2004  Matthias Clasen  <mclasen@redhat.com>
+
+       * demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
+       pixbuf.
+
 Tue Sep 21 16:55:38 2004  Manish Singh  <yosh@gimp.org>
 
        * tests/testtreemodel.c: #include <config.h> for HAVE_MALLINFO define,
index a2c9ae574c374c1e5590da3a1f73eeb876621d9a..eb94b6a3979580e4b4027fb1757612bc215c74b3 100644 (file)
@@ -1,3 +1,8 @@
+Wed Sep 22 00:54:34 2004  Matthias Clasen  <mclasen@redhat.com>
+
+       * demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
+       pixbuf.
+
 Tue Sep 21 16:55:38 2004  Manish Singh  <yosh@gimp.org>
 
        * tests/testtreemodel.c: #include <config.h> for HAVE_MALLINFO define,
index 1bfa2662ce025066d2556d18be15cd9f34729f33..27963293b8471abb88388c84bf1c041407d9d32b 100644 (file)
@@ -265,6 +265,7 @@ do_pixbufs (GtkWidget *do_widget)
     {
       gtk_widget_destroy (window);
       window = NULL;
+      g_object_unref (frame);
     }
 
   return window;